package com.lg.atp.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lg.atp.dao.CaseRunStepResultMapper;
import com.lg.atp.entity.CaseRunStepResult;
import com.lg.atp.service.ITCaseRunStepResultService;
@Service("ITCaseRunStepResultService")
public class ITCaseRunStepResultServiceImpl implements ITCaseRunStepResultService {

	
	@Autowired
	private CaseRunStepResultMapper caseRunStepResultDao;
	
	@Override
	public int deleteByByResultId(Long id) {
		// TODO Auto-generated method stub
		return caseRunStepResultDao.deleteByByResultId(id);
	}

	@Override
	public int insertResult(CaseRunStepResult record) {
		// TODO Auto-generated method stub
		return caseRunStepResultDao.insertResult(record);
	}

	@Override
	public int insertResultSelective(CaseRunStepResult record) {
		// TODO Auto-generated method stub
		return caseRunStepResultDao.insertResultSelective(record);
	}

	@Override
	public CaseRunStepResult selectByResultId(Long id) {
		// TODO Auto-generated method stub
		return caseRunStepResultDao.selectByResultId(id);
	}

	@Override
	public int updateByResultIdSelective(CaseRunStepResult record) {
		// TODO Auto-generated method stub
		return caseRunStepResultDao.updateByResultIdSelective(record);
	}

	@Override
	public int updateByByResultId(CaseRunStepResult record) {
		// TODO Auto-generated method stub
		return caseRunStepResultDao.updateByByResultId(record);
	}

}
